﻿using System;
using System.Web.UI.HtmlControls;
using DGP.Framework.Web.UI;

public partial class _Default : BasePage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (Master != null)
        {
            var topLiItem = (HtmlGenericControl) Master.FindControl("liArticles");
            topLiItem.Attributes.Add("class", "current");
        }
        //if (Request.IsAuthenticated)
        //{
        //    Response.Write("... you're logged in " + CommunityServer.Components.CSContext.Current.User.DisplayName);
        //}
        //else
        //{
        //    Response.Write("... you're not logged in" + CommunityServer.Components.CSContext.Current.ApplicationKey);
        //}
    }
}